package clientText;

import java.io.PrintWriter;
import java.util.Scanner;

public class WriteRunable implements Runnable {
	
	PrintWriter out;
	
	
	WriteRunable(PrintWriter out){
		this.out=out;
	}

	@Override
	public void run() {
		
		try(Scanner sc=new Scanner(System.in)){
			while(sc.hasNextLine()) {
				out.println(sc.nextLine());
			}
		}
		
	}


}
